package com.yidu.qianfeng.service.impl;

import com.yidu.qianfeng.common.bean.waybill.Waybill;
import com.yidu.qianfeng.mapper.CheckMapper;
import com.yidu.qianfeng.mapper.TargetMapper;
import com.yidu.qianfeng.service.TargetBizInter;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("targetBizImpl")
public class TargetBizImpl implements TargetBizInter {
    @Resource(name = "targetMapper")
    private TargetMapper dao;

    /**
     * financecount
     * @param waybill_consign_date
     * @param waybill_promise_date
     * @return
     */
    @Override
    public int financecount(String waybill_consign_date, String waybill_promise_date) {
        return dao.financecount(waybill_consign_date,waybill_promise_date);
    }

    /**
     * Waybillincome
     * @param waybill_consign_date
     * @param waybill_promise_date
     * @return
     */
    @Override
    public int Waybillincome(String waybill_consign_date, String waybill_promise_date) {
        return dao.Waybillincome(waybill_consign_date,waybill_promise_date);
    }

    /**
     * rebatecollection
     * @param waybill_consign_date
     * @param waybill_promise_date
     * @return
     */
    @Override
    public int rebatecollection(String waybill_consign_date, String waybill_promise_date) {
        return dao.rebatecollection(waybill_consign_date,waybill_promise_date);
    }

    /**
     * pickupfee
     * @param waybill_consign_date
     * @param waybill_promise_date
     * @return
     */
    @Override
    public int pickupfee(String waybill_consign_date, String waybill_promise_date) {
        return dao.pickupfee(waybill_consign_date,waybill_promise_date);
    }

    /**
     * transportcount
     * @param trans_depart_date
     * @param trans_promise_date
     * @return
     */
    @Override
    public int transportcount(String trans_depart_date, String trans_promise_date) {
        return dao.transportcount(trans_depart_date,trans_promise_date);
    }

    /**
     * transporttotal
     * @param trans_depart_date
     * @param trans_promise_date
     * @return
     */
    @Override
    public int transporttotal(String trans_depart_date, String trans_promise_date) {
        return dao.transporttotal(trans_depart_date,trans_promise_date);
    }

    /**
     * sendtcount
     * @param trans_depart_date
     * @param trans_promise_date
     * @return
     */
    @Override
    public int sendtcount(String trans_depart_date, String trans_promise_date) {
        return dao.sendtcount(trans_depart_date,trans_promise_date);
    }

    /**
     * sendttotal
     * @param trans_depart_date
     * @param trans_promise_date
     * @return
     */
    @Override
    public int sendttotal(String trans_depart_date, String trans_promise_date) {
        return dao.sendttotal(trans_depart_date,trans_promise_date);
    }

    /**
     * selectindicator
     * @return
     */
    @Override
    public List<Waybill> selectindicator() {
        return dao.selectindicator();
    }
}
